package com.example.demo.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.example.demo.pojo.User;

public interface IUserDao {
	
	int inserUser(User user);
	
	int updateUser(User user);
	
	int deleteUser(Integer id);
	
	List<User> selectAllUser(User user);
	
	List<User> selectAllUserByName(String name);
	
	User selectUserById(Integer id);
	
	User selectCheckLogin(@Param("user_tel")String user_tel,@Param("user_password")String user_password);

}
